Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: LS Evaluate problem: counter = Evaluate("@Count(@Explode("Subject";">"))",doc)
Feedback Type: Problem
Product Area: Domino Designer on Eclipse (DDE)
Technical Area: Customization
Platform: Windows XP client
Release: 8.5
Reproducible: Always

Hello,
please what is wrong in this LS when I evaluate causes error? I need to get number of list's items:

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As notesview
Set db = session.CurrentDatabase
Dim doc As NotesDocument
Dim counter As Integer

Set view = db.GetView("email")
Set doc = view.GetFirstDocument

counter = Evaluate("@Count(@Explode("Subject";">"))",doc)

thank you, JAKUB


Feedback number WEBB7YRMD8 created by ~Yoshi Umnukonyader on 12/15/2009

Status: Open
Comments:

LS Evaluate problem: counter = Eval... (~Yoshi Umnukony... 15.Dec.09)
. . DON'T USE EVALUATE! (~Fred Xanjumima... 15.Dec.09)
. . . . Actually, there's several cases whe... (~Sanjay Quettum... 15.Dec.09)
. . . . . . Name three. (~Fred Xanjumima... 15.Dec.09)
. . . . . . . . Ok, I'll bite. (~Sanjay Quettum... 16.Dec.09)
. . . . . . . . . . re: Ok, I'll bite. (~Fred Xanjumima... 17.Dec.09)
. . . . . . . . . . . . Terseness (~Sanjay Quettum... 17.Dec.09)
. . . . . . . . . . . . . . Actually... (~Fred Xanjumima... 17.Dec.09)
. . . . . . . . . . . . . . . . It definitely depends... (~Sanjay Quettum... 17.Dec.09)
. . . . . . . . . . . . . . . . . . re:no need...Yes you're right. I s... (~Fred Xanjumima... 17.Dec.09)
. . . . . . . . . . . . . . . . Seems like Willy is kind of LotusSc... (~Arnold Zenjumi... 17.Dec.09)
. . . . . . . . Dynamic coding is one ... (~Arnold Zenjumi... 16.Dec.09)
. . . . . . . . . . here's a link to tell you more abou... (~James Preresas... 16.Dec.09)
. . . . . . . . . . . . As expected, Watka makes a comment ... (~Fred Xanjumima... 16.Dec.09)
. . . . . . . . . . Nope. Use Execute instead. (~Fred Xanjumima... 16.Dec.09)
. . . . . . . . . . . . No 255 limit now?!? Where do you ha... (~Arnold Zenjumi... 16.Dec.09)
. . . . . . . . . . . . . . Evaluate & Execute (~Fred Xanjumima... 16.Dec.09)
. . Use variant as return type (~Ned Mintoolita... 15.Dec.09)
. . . . Thank you :-) (~Yoshi Umnukony... 15.Dec.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS